class MVT_ui_control {
	idd = 24388;
	movingEnable = 0;
	enableSimulation = 1;
	onLoad = "[_this] spawn MVT_fnc_dlgInit;";

	class controls {
		class Background : CUI_Frame {
			y = CUI_Row_Y(0);
			h = CUI_Row_DY(0,8);
			w = CUI_Box_W;
		};
		class MVTInterfaceCaption : CUI_Caption {
			text = $STR_MVT_DLG_TITLE;
			y = CUI_Row_Y(0);
			w = CUI_Box_W;
		};
		
		class CurrentTimeCaption : CUI_Caption {
			idc = 1;
			text = "";
			y = CUI_Row_Y(2);
			w = CUI_Box_W;
		};
		
		class DisableTargets : CUI_Button {
			idc = 2;
			text = $STR_MVT_DLG_DISABLE_TARGETS;
			y = CUI_Row_Y(4);
			w = CUI_Box_W;
			action = "[] call MVT_fnc_dlgDisableTargets;";
		};
		
		class ResetTargets : CUI_Button {
			text = $STR_MVT_DLG_RESET_TARGETS;
			w = CUI_Box_W;
			y = CUI_Row_Y(5);
			action = "[] call MVT_fnc_dlgResetTargets;";
		};

		class ResetScores : CUI_Button {
			text = $STR_MVT_DLG_RESET_SCORES;
			w = CUI_Box_W;
			y = CUI_Row_Y(6);
			action = "[] call MVT_fnc_dlgResetScores;";
		};

		class SkipTime : CUI_Button {
			text = $STR_MVT_DLG_SKIP_TIME;
			w = CUI_Box_W;
			y = CUI_Row_Y(7);
			action = "[] call MVT_fnc_dlgSkipTime;";
		};

		class Close : CUI_Button {
			text = $STR_MVT_DLG_CLOSE;
			w = CUI_Box_W;
			y = CUI_Row_Y(8);
			action = "closeDialog 0;";
		};
	};
};